From d50e62c2c05633f5d6b7cc8f5cea2c6af215da93 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sun, 20 Sep 2015 14:25:53 -0400 Subject: [PATCH] Update tests to be tolerant of new error code [E0463] Added in https://github.com/rust-lang/rust/commit/7358a5e8ea7c2ab0aaa76b503ef68161e44681a0 --- tests/test_cargo_compile.rs | 2 +- tests/test_cargo_compile_custom_build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cargo_compile.rs b/tests/test_cargo_compile.rs index e16456977..b8930f2b8 100644 --- a/tests/test_cargo_compile.rs +++ b/tests/test_cargo_compile.rs @@ -1686,7 +1686,7 @@ test!(transitive_dependencies_not_available { assert_that(p.cargo_process("build").arg("-v"), execs().with_status(101) .with_stderr("\ -[..] can't find crate for `bbbbb` +[..] can't find crate for `bbbbb`[..] [..] extern crate bbbbb; [..] [..] error: aborting due to previous error diff --git a/tests/test_cargo_compile_custom_build.rs b/tests/test_cargo_compile_custom_build.rs index f172e34be..cb352e16b 100644 --- a/tests/test_cargo_compile_custom_build.rs +++ b/tests/test_cargo_compile_custom_build.rs @@ -699,7 +699,7 @@ test!(build_deps_not_for_normal { assert_that(p.cargo_process("build").arg("-v").arg("--target").arg(&target), execs().with_status(101) .with_stderr("\ -[..]lib.rs[..] error: can't find crate for `aaaaa` +[..]lib.rs[..] error: can't find crate for `aaaaa`[..] [..]lib.rs[..] extern crate aaaaa; [..] ^~~~~~~~~~~~~~~~~~~ error: aborting due to previous error -- 2.30.2